<div id="orgRelStaffModel" class="modal fade" role="dialog" aria-labelledby="addPrivilegeModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-body">
                <div class="row">
                    <div class="col-sm-6 m-b-xs">

                    </div>
                    <div class="col-sm-6">
                        <div class="input-group">
                            <input :placeholder="vc.i18n('请输入员工名称','orgRelStaff')" type="text" v-model="orgRelStaffInfo.name" class="form-control form-control-sm">
                            <span class="input-group-append">
                                <button type="button" class="btn btn-sm btn-primary" v-on:click="_queryOrgRelStaffs()"><vc:i18n name="查询" namespace="orgRelStaff"></vc:i18n></button>
                            </span>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <div class="ibox ">
                            <div class="table-responsive" style="margin-top:15px">
                                <table class="table table-striped">
                                    <thead>
                                        <tr>
                                            <th class="text-center">
                                                <input type="checkbox" class="i-checks" v-bind:checked="orgRelStaffInfo.quanGroup == true" @click="checkAllGroup($event)">
                                            </th>
                                            <th>
                                                <span><vc:i18n name="员工名称" namespace="orgRelStaff"></vc:i18n></span>
                                            </th>
                                            <th>
                                                <span><vc:i18n name="员工电话" namespace="orgRelStaff"></vc:i18n></span>
                                            </th>
                                            <th>
                                                <span><vc:i18n name="员工编号" namespace="orgRelStaff"></vc:i18n></span>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr v-for="staff in orgRelStaffInfo.staffs">
                                            <td class="text-center">
                                                <input type="checkbox" class="i-checks checkGroupItem" v-bind:value="staff.userId" v-model="orgRelStaffInfo.selectStaffs">
                                            </td>
                                            <td>{{staff.name}}</td>
                                            <td>{{staff.tel}}</td>
                                            <td>{{staff.userId}}</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal"><span><vc:i18n name="关闭" namespace="orgRelStaff"></vc:i18n></span></button>
                <button type="button" class="btn btn-primary" v-on:click="_saveOrgRelStaff()"><span><vc:i18n name="提交" namespace="orgRelStaff"></vc:i18n></span></button>
            </div>
        </div>
    </div>
</div>